<?php
namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class BooksAutoUpdate extends Model{

    //指定表名
    protected $table= 'books_auto_update';
    //指定主键
    protected $primaryKey= 'id';
    //允许批量赋值字段
    protected $fillable = ['book_id','book_name','is_update'];

    public $timestamps = true;

}
